package com.decent.wx.entity;


import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;

/**
 * @author decent
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class WxMessage implements Serializable {

    private static final long serialVersionUID = -1369948390563179472L;

    /**
     * 状态码
     */
    private Integer errCode;

    /**
     * 消息内容
     */
    private String errMsg;

    /**
     * 消息所携带的一组数据
     */
    private Object data;

    public WxMessage(Integer status, String result, Object data) {
        this.errCode = status;
        this.errMsg = result;
        this.data = data;
    }


}
